<?php

namespace app\controller;

use app\BaseController;

class Person extends BaseController
{

  public function speak()
  {
    echo "<h3>我是中国人，我爱中国！</h3>";
  }

  public function play()
  {
    $arr = ["name" => "zs", "age" => 20, "gender" => "男"];
    return json($arr);
  }
}
